import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import routers from "./router/index";
import { createPinia } from "pinia";

const app = createApp(App)
app.directive('title', {
  mounted(el) {
    document.title = el.dataset.title;
  }
});
app.use(routers);
app.use(createPinia());
app.mount('#app')
